const defaultWidth = 100
export const tableHeaders = [
  {
    name: '合同编号',
    key: 'contractNo',
    wid: defaultWidth
  },
  {
    name: '合同编号',
    key: 'debtId',
    wid: defaultWidth
  },
  {
    name: '项目名称',
    key: 'debtName',
    wid: defaultWidth
  },
  {
    name: '企业名称',
    key: 'enterpriseName',
    wid: defaultWidth
  },
  {
    name: '企业编号',
    key: 'enterpriseId',
    wid: defaultWidth
  },
  {
    name: '债务用途',
    key: 'debtUseDescr',
    wid: defaultWidth
  },
  {
    name: '债务性质',
    key: 'debtNatureDescr',
    wid: defaultWidth
  },
  {
    name: '债务类别',
    key: 'debtTypeDescr',
    wid: defaultWidth
  },
  {
    name: '债务兑付时间',
    key: 'repaymentTime',
    wid: 170
  },
  {
    name: '债务余额/万',
    key: 'debtBalance',
    wid: 150
  },
  {
    name: '债务本金总金额/万',
    key: 'totalPrincipal',
    wid: 150
  },
  {
    name: '操作',
    wid: 120,
    fixed: 'right',
    showTooltip: false,
    slotName: 'operate'
  }
]
export const searchItem = [
  {
    name: '合同编号',
    key: 'contractNo'
  },
  {
    name: '项目名称',
    key: 'debtName'
  },
  {
    name: '企业名称',
    key: 'enterpriseName'
  },
  {
    name: '区域',
    key: 'areaCode'
  },
  {
    name: '放款/起息日期',
    key: 'loanTime',
    type: 'date',
    dateType: 'date',
    dateFormat: 'YYYY-MM-DD'
  },
  {
    name: '到期时间',
    key: 'expirationTime',
    type: 'date',
    dateType: 'date',
    dateFormat: 'YYYY-MM-DD'
  },
  {
    name: '兑付时间',
    key: 'repaymentTime',
    type: 'date',
    dateType: 'date',
    dateFormat: 'YYYY-MM-DD'
  },
  {
    name: '债务用途',
    key: 'debtUse',
    type: 'cascader',
    children: []
  },
  {
    name: '债务性质',
    key: 'debtNature',
    type: 'cascader',
    children: []
  },
  {
    name: '债务类别',
    key: 'debtType',
    type: 'cascader',
    children: []
  }
]
